TryTake Method

Task Parallel System.Threading

Overload List

  NameDescription
TryTake(T%)
Attempts to remove an item from the BlockingCollection<(Of <(T>)>).
TryTake(T%, Int32)
Attempts to remove an item from the BlockingCollection<(Of <(T>)>).
TryTake(T%, TimeSpan)
Attempts to remove an item from the BlockingCollection<(Of <(T>)>).
TryTake(T%, Int32, CancellationToken)
Attempts to remove an item from the BlockingCollection<(Of <(T>)>). A OperationCanceledException is thrown if the CancellationToken is canceled.

See Also